﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home.Master" AutoEventWireup="true" CodeBehind="MasterReviewCL.aspx.cs" Inherits="WebApplication10.MasterReviewCL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">



        .style8
        {
            width: 84%;
            height: 43px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" bgcolor="White" class="style8">
        <tr>
            <td bgcolor="#93C6E3" width="1">
                <asp:Label ID="Label3" runat="server" Font-Names="Calibri" Font-Size="XX-Large" 
                        Text="Review Cover Letters"></asp:Label>
                <br />
                <br />
                <asp:Image ID="Image1" runat="server" Height="88px" 
                        ImageUrl="~/ResumeImages/pen_paper_icon.jpg" Width="115px" />
                <br />
                <br />
                <asp:GridView ID="GridView1" runat="server" DataSourceID="ObjectDataSource1" 
                    AutoGenerateColumns="False" DataKeyNames="Title" Height="174px" 
                    Width="687px" onselectedindexchanged="GridView1_SelectedIndexChanged1">
                    <Columns>
                        <asp:BoundField DataField="CoverLetterID" HeaderText="CoverLetterID" 
                            SortExpression="CoverLetterID"></asp:BoundField>
                        <asp:BoundField DataField="Title" HeaderText="Title" ReadOnly="True" 
                            SortExpression="Title"></asp:BoundField>
                        <asp:BoundField DataField="Description" HeaderText="Description" 
                            SortExpression="Description"></asp:BoundField>
                        <asp:BoundField DataField="Institution" HeaderText="Institution" 
                            SortExpression="Institution"></asp:BoundField>
                        <asp:BoundField DataField="Course" HeaderText="Course" SortExpression="Course">
                        </asp:BoundField>
                        <asp:BoundField DataField="Grade" HeaderText="Grade" SortExpression="Grade">
                        </asp:BoundField>
                        <asp:ButtonField Text="Update"></asp:ButtonField>
                        <asp:ButtonField Text="Delete"></asp:ButtonField>
                    </Columns>
                </asp:GridView>
                <br />
                <br />
                <br />
                <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
                    onselecting="ObjectDataSource1_Selecting" 
                    OldValuesParameterFormatString="original_{0}" SelectMethod="GetCoverLetterByID" 
                    TypeName="WebApplication10.App_Code.CoverLetter">
                    <SelectParameters>
                        <asp:SessionParameter Name="CoverLetterID" SessionField="CoverLetterID" 
                            Type="String" />
                    </SelectParameters>
                </asp:ObjectDataSource>
            </td>
        </tr>
    </table>
</asp:Content>
